﻿// -------------------------------------------------------------------------
//    @FileName         :    NFTransInsertAcc.h
//    @Author           :    Gao.Yi
//    @Date             :    2025-08-17
//    @Email			:    445267987@qq.com
//    @Module           :    NFTransInsertAcc
//    @Desc             :    
//
// -------------------------------------------------------------------------

#pragma once

#include "NFLogicCommon/NFLogicShmTypeDefines.h"
#include "NFServerComm/NFServerCommon/NFCacheDataInsertTransTemplate.h"
#include "proto_db.pb.h"

class NFTransInsertAcc : public NFCacheDataInsertTransTemplate<NFTransInsertAcc, proto_ff::tbRoleList, EOT_TRANS_INSERT_ACC>
{
public:
    NFTransInsertAcc();
    ~NFTransInsertAcc() override;
    int CreateInit();
    int ResumeInit();
public:
    int InsertCacheDataRes(const NFrame::storesvr_insertobj_res* pRes, int32_t errCode) override;
    int InsertCacheDataReq(uint64_t ullId, int iReason, const google::protobuf::Message& stPbClass) override;
private:
    uint64_t m_ullUin;
    int m_iWorldId;
    int m_iWorldType;
};
